package com.ruoyi.teaching.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import com.ruoyi.teaching.domain.YaStudentInterviewRecord;

/**
 * 学生面试题练习记录Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-22
 */
public interface YaStudentInterviewRecordMapper  extends BaseMapper<YaStudentInterviewRecord>
{
    /**
     * 查询学生面试题练习记录
     *
     * @param id 学生面试题练习记录主键
     * @return 学生面试题练习记录
     */
    public YaStudentInterviewRecord selectYaStudentInterviewRecordById(Long id);

    /**
     * 查询学生面试题练习记录列表
     *
     * @param yaStudentInterviewRecord 学生面试题练习记录
     * @return 学生面试题练习记录集合
     */
    public List<YaStudentInterviewRecord> selectYaStudentInterviewRecordList(YaStudentInterviewRecord yaStudentInterviewRecord);

    /**
     * 新增学生面试题练习记录
     *
     * @param yaStudentInterviewRecord 学生面试题练习记录
     * @return 结果
     */
    public int insertYaStudentInterviewRecord(YaStudentInterviewRecord yaStudentInterviewRecord);

    /**
     * 修改学生面试题练习记录
     *
     * @param yaStudentInterviewRecord 学生面试题练习记录
     * @return 结果
     */
    public int updateYaStudentInterviewRecord(YaStudentInterviewRecord yaStudentInterviewRecord);

    /**
     * 删除学生面试题练习记录
     *
     * @param id 学生面试题练习记录主键
     * @return 结果
     */
    public int deleteYaStudentInterviewRecordById(Long id);

    /**
     * 批量删除学生面试题练习记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYaStudentInterviewRecordByIds(Long[] ids);
}
